const mongoose = require("./mongoose");
const UserRelationSchema = new mongoose.Schema({
    openid: String, //  必填  用户 openid
    passopenid: String, //  必填  被投票人 passopenid
    time: Number, //  必填  用户投票时间戳 time
    avater: String, //(50)  必填  用户头像
    nickname :String, // (20)  必填  用户微信昵称
})
const UserRelationModel = mongoose.model("userRelation",UserRelationSchema,"userRelation");
module.exports = UserRelationModel; 